package com.ptu.spzx.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ptu.spzx.common.PageResult;
import com.ptu.spzx.domain.Delete.DeleteIds;
import com.ptu.spzx.domain.Message.Message;
import com.ptu.spzx.domain.Message.dto.MessageInsertDTO;
import com.ptu.spzx.domain.Message.dto.MessageQueryDTO;
import com.ptu.spzx.domain.Message.dto.MessageTeacherBatchQueryNoticeDTO;
import com.ptu.spzx.domain.Message.dto.MessageUpdateDTO;
import com.ptu.spzx.domain.Message.vo.StuCheckMessageVO;
import java.util.*;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author YT
 * @since 2024-01-28
 */
public interface IMessageService extends IService<Message> {
    void add(MessageInsertDTO insertDTO);

    void update(MessageUpdateDTO updateDTO);

    void deleteByIds(DeleteIds deleteIds);

    PageInfo<Message> batchQueryByTeacher(Integer pageNumber,Integer pageSize,MessageTeacherBatchQueryNoticeDTO queryDTO);

    StuCheckMessageVO stuChekMessage(Long stuId, Long noticeId);

    String getReadNum(Long noticeId);

    PageInfo<Message> batchQuery(Integer pageNumber, Integer pageSize, MessageQueryDTO queryDTO);
}
